package com.cy.controller;

import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

@Component
public class IndexController {

    @GetMapping({"/","/index"})
    public String index(){
        return "index";
    }

}
